home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 October / EnigmA AMIGA RUN 31 (1998)(G.R. Edizioni)(IT)[!][issue 1998-10].iso / earkit / chat / teabot / fserv.doc < prev    next >
Text File  |  1998-09-22  |  4KB  |  104 lines

  1.  AmIRC Fserv v1 by Michael Rushton  Email: michaelr@enterprise.net
  2. ======================================================================
  3.  
  4. What does it do?
  5.  
  6. Fserv allows people to access files from  your computer via a DCC chat
  7. window. Think of it as an FTP  server  for IRC. Which allows people to
  8. upload and download files to and from directories selected by you.
  9.  
  10. Installation:
  11.  
  12. Simply copy fserv.amirx to your amirc rexx directory.
  13.  
  14.  
  15. Launching the script:
  16.              
  17. To launch the fileserver use the following command line in AmIRC:
  18.  
  19. /rx fserv <nick> [home directory]
  20.  
  21. Where <nick> is the IRC  nickname  of  the  person you are starting an
  22. fserv session with, and [home directory]  is the root directory of the
  23. fserv (for people accessing  your  computer  this  will  be the lowest
  24. point in the directory tree they  can  access). If [home directory] is
  25. omitted the filepath on line  5  will  be  used (edit the path between
  26. speech marks to change this.
  27.  
  28. After the fserv script has been  launched,  it  will attempt to make a
  29. DCC chat connection  to  <nick>.  Commands  from  <nick>  will only be
  30. accepted once the DCC connection has  been  established (if a DCC chat
  31. connection already exists it does not  need  to be closed before using
  32. the script).
  33.  
  34.  
  35. An example command line used to invoke the script follows:
  36.  
  37. /rx fserv Skeletor dh0:pictures/
  38.  
  39. This would open an fserv session to  Skeletor. He would have access to
  40. the directory dh0:pictures/  and  those  directories  above  it in the
  41. directory tree.
  42.  
  43. [Note]: You will see that  text  being  sent  to  the user seems to be
  44. appearing to the IRC channel. Although it may appear that everyone can
  45. see this text, only the  person  connected  to  the fileserver can see
  46. this text.
  47.  
  48.  
  49.  
  50. Using the fileserver
  51.  
  52. This section of the documentation  explains  the commands available to
  53. someone accessing the fserv.
  54.  
  55. Any lines which you do not  want  the  fileserver to process should be
  56. prefixed with ;
  57. Use this when you wish to chat to the person running the fserv script.
  58.  
  59. The fileserver filepath for the home directory is FSERV:
  60.  
  61. Commands:
  62.  
  63.      CD [directory][,password]
  64.           This command allows you to set the Current Directory.
  65.           Omit [directory] if you wish to see which directory you are
  66.           currently in. If the directory is password protected you
  67.           would have to put the directory name followed by a comma
  68.           then the password itself e.g. CD fserv:pictures,mushroom
  69.           where fserv:pictures is the directory you wish to enter and
  70.           mushroom is the password.
  71.  
  72.      DIR/LIST [directory]
  73.           Allows you to see a list of files in the current directory
  74.           or [directory]. Dir shows only files and directories, list
  75.           should be used when you want to see file comments and file
  76.           sizes.
  77.  
  78.      GET <filename>>
  79.           DCC sends <filename> to you.
  80.  
  81.      MAKEDIR <dirname>[,password]
  82.           Makes a directory with the name <dirname> on the fserv. If
  83.           a password is specified then the user will have to enter a
  84.           password when using the CD command to enter the directory.
  85.           Example: To make a directory with the name pictures and a
  86.           password: 123456 you would use the command:
  87.                         MAKEDIR pictures,123456
  88.  
  89.      LEAVE/QUIT
  90.           Terminates the fserv session but will not close dcc chat
  91.           meaning you can chat on all night if you want to! :)
  92.  
  93.  
  94.      AVAIL
  95.           Tells you how much space is available on the fserv.
  96.           Use this to check if there is room on the fileserver before
  97.           uploading something.
  98.  
  99.  
  100. To upload something to the fileserver simply  DCC send the file to the
  101. person running the fserv script,  your  DCC send will automatically be
  102. accepted and routed to the  directory  which  you're inhabiting on the
  103. fileserver.
  104.